<?php
	include_once(realpath(dirname(__FILE__)) . "/../../../fonctions/authplugins.php");
	if (function_exists("autorisation")) autorisation("dc_newsletter_basic");
	include_once(realpath(dirname(__FILE__)) . '/Dc_newsletter_basic.class.php');


	if(est_autorise("acces_configuration")) {
	$newsletter = new dc_newsletter_basic(); 
	if($newsletter->checkversion(Dc_newsletter_basic::VERSION)){
	?>

	<style>
		span a.newversion, span a:visited.newversion {
			color:white;
		}
	</style>

	<div style="background-color:#868F99; border-top:3px solid #FAA400; color:#FFFFFF; width:956px;  margin: 0 auto; padding-bottom: 2px;margin-bottom: 10px;">
		<div style="text-transform: uppercase;height: 21px;padding: 9px 0 0 5px;font-weight: bold;">
			NEWSLETTER BASIC: <span class="newversion"><?php echo $newsletter->checkversion(Dc_newsletter_basic::VERSION); ?></span>
		</div>
	</div>
	<?php }
	} ?>